x86 hvm: Do not check-and-fail on in_atomic() in hvm_copy().
authorKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 15:18:02 +0000 (15:18 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 15:18:02 +0000 (15:18 +0000)
commit48f902c059c84c1630b752cae00333814a96482a
tree5253b7fb7bdb85843bbcd921a0de82f6b4a5ad26
parent5d7db6a945d821d48d36e76ea5aef4db1e03b6f1
x86 hvm: Do not check-and-fail on in_atomic() in hvm_copy().

Stub this out for 4.0, as PV-on-HVM drivers hit this case when
performing grant-table hypercalls. Grant-table code currently accesses
guest memory under bug per-domain lock. The test in hvm_copy() is not
necessary until the xenpaging implementation is more complete, which
will not now be until after 4.1.0.

Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/hvm.c